package oop;

public class J31_FanVo {
	static final int SLOW = 1;
	static final int MEDIUM = 2;
	static final int FASR = 3;
	int speed;
	boolean on;
	float radius;
	String color;
	public J31_FanVo() {
		this.speed = SLOW;
		this.on = false;
		this.radius = 5.0f;
		this.color = "blue";
	}
	public J31_FanVo(int speed,boolean on, float radius, String color) {
		this.speed = speed; this.on = on; this.radius = radius; this.color = color;
	}
	public int getSpeed() {
		return speed;
	}
	public void setSpeed(int speed) {
		this.speed = speed;
	}
	public boolean isOn() {
		return on;
	}
	public void setOn(boolean on) {
		this.on = on;
	}
	public float getRadius() {
		return radius;
	}
	public void setRadius(float radius) {
		this.radius = radius;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	
}
